package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author nanyang
 */
public class TFlupStrategyDto {

    @Data
    @ApiModel("新增随访策略")
    public static class Insert {
        @ApiModelProperty("类别（基层筛查、住院干预）")
        private Byte type;
        @ApiModelProperty("危险分级")
        private Byte riskLevel;
        @ApiModelProperty("随访轮次")
        private String round;
        @ApiModelProperty("策略内容")
        private String content;
    }

    @Data
    @ApiModel("修改随访策略")
    public static class Update {
        @ApiModelProperty("ID")
        private Long id;
        @ApiModelProperty("类别（基层筛查、住院干预）")
        private Byte type;
        @ApiModelProperty("危险分级")
        private Byte riskLevel;
        @ApiModelProperty("随访轮次")
        private String round;
        @ApiModelProperty("策略内容")
        private String content;
    }

    @Data
    @ApiModel("删除随访策略")
    public static class Delete {
        @ApiModelProperty("删除ID")
        private List<Long> idList;
    }


    @Data
    @ApiModel("查询随访策略")
    public static class Query {
        @ApiModelProperty("类别（基层筛查、住院干预）")
        private Byte type;
        @ApiModelProperty("危险分级")
        private Byte riskLevel;
    }


}
